﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AwardIssued.aspx.cs" Inherits="AwardIssued" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <div class="cleaner_with_height"></div> 

      <div class="competition_box">
      
           <asp:DataList ID="dtl_Previous" runat="server" Width="640px">
                <ItemTemplate>
                <div>
                    <div class="competition_item_left"> Competition:</div> <div class="competition_item_right"><%#Eval("CompetitionName") %></div><br />
                    <div class="competition_item_left">Start Date :</div><div class="competition_item_right"><%#Eval("StartDate","{0:MMMM d, yyyy}") %>                 
                    -  <%#Eval("EndDate", "{0:MMMM d, yyyy}") %> </div>
                     <asp:Label ID="lblCompetitionID" runat="server" Text='<%#Eval("CompetitionID")%>' Visible="false"></asp:Label>                                         
                     
                    <div class="cleaner_with_height2"></div>
                    <asp:GridView ID="grv_AwardIssued"  Width="615px" runat="server" AutoGenerateColumns="false">
                        <Columns>
                            <asp:TemplateField>
                             <ItemStyle HorizontalAlign="Center" />
                                <HeaderTemplate>Award</HeaderTemplate>
                                <ItemTemplate><%#Eval("AwardName") %></ItemTemplate>
                            </asp:TemplateField>

                            <asp:TemplateField>
                             <ItemStyle HorizontalAlign="Center" />
                                <HeaderTemplate>Prize</HeaderTemplate>
                                <ItemTemplate><%#Eval("Prize") %></ItemTemplate>
                            </asp:TemplateField>

                            <asp:TemplateField>
                             <ItemStyle HorizontalAlign="Center" />
                                <HeaderTemplate>Student Name</HeaderTemplate>
                                <ItemTemplate><%#Eval("Fullname")%></ItemTemplate>
                            </asp:TemplateField>

                            <asp:TemplateField>
                             <ItemStyle HorizontalAlign="Center" />
                                <HeaderTemplate>Posting</HeaderTemplate>
                                <ItemTemplate><%#Eval("PostingName")%></ItemTemplate>
                            </asp:TemplateField>

                            <asp:TemplateField>
                             <ItemStyle HorizontalAlign="Center" />
                                <HeaderTemplate>Class</HeaderTemplate>
                                <ItemTemplate><%#Eval("Class")%></ItemTemplate>
                            </asp:TemplateField>

                            <asp:TemplateField>
                             <ItemStyle HorizontalAlign="Center" />
                                <HeaderTemplate>Phone</HeaderTemplate>
                                <ItemTemplate><%#Eval("Phone")%></ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>           
    
                 <br />
        <hr width="620px" align="left" />
                 <br />
          </div>
           
        </ItemTemplate>
      
        </asp:DataList>
          
            <div style="float: right"  >
             <asp:button id="cmdPrev" runat="server" text=" Pre " Width="60px" onclick="cmdPrev_Click"></asp:button>
         <asp:label id="lblCurrentPage" runat="server"></asp:label>
        <asp:button id="cmdNext" runat="server" text=" Next "  Width="60px"  onclick="cmdNext_Click"></asp:button>
        </div>
    
      </div>
     <div class="cleaner_with_height3">&nbsp;</div>   
</asp:Content>

